-- CALC_PROPHECY_PROP

-- 计算预言之书的基础属性
-- @param user 玩家对象
-- @param classId 装备id
return function(user, classId)
    -- 基础属性：魔力+6，高阶魔法伤害+50%，下楼获得预言点+5
    local props =  {{200,"magic",6,-1,}, {807,1,500,-1,}, {599,"predicted_point",5,-1} };

    -- 大祭祀冈布奥的大预言术等级
    local prop = PropM.combine(user, "gain_slime_skill", 40);
    local level = prop[3];

    if level >= 5 then
        -- 随机提升某项属性
        table.insert(props, {131, "random+1", 1000, -1});
    end
    if level >= 4 then
        -- 随机获得魔法卷轴
        table.insert(props, {532,"1~5",1,-1,});
    end
    if level >= 3 then
        -- 预言点+5
        table.insert(props, {599,"predicted_point",5,-1,});
    end
    if level >= 2 then
        -- 恢复魔法值+5
        table.insert(props, {203,"mp",5,-1});
    end
    if level >= 1 then
        -- 恢复生命值+5
        table.insert(props, {203,"hp",5,-1});
    end

    return props;
end